<template>
    <component :is="option.name" :id="option.id" :option="option" :modalShow="modalShow">
    </component>
</template>

<script>
    import spDelivery from 'components/detail/sp/spDelivery'
    import spAuditfc from 'components/detail/sp/spAuditfc'
    import spOrderDetail from 'components/detail/sp/spOrderDetail'
    import refundDetail from 'components/detail/refund/refundDetail'
    import refundAudit from 'components/detail/refund/refundAudit'
	import confirm from './confirm.vue'
    import withdrawAudit from 'components/detail/withdraw/withdrawAudit'
    import seeDetail from 'components/detail/withdraw/seeDetail'
    //后台用户修改密码
    import change_pwd from 'components/pop/components/change_pwd'
    //edit_com弹出
    import pop_edit_com from 'components/pop/components/pop_edit_com'
	//添加到仓库
    import warehouseEdit from 'components/edit/warehouse/warehouseEdit'
	//Jbind
	import Jbind from 'components/detail/Jbind'
	//价格日历
	import proStockEdit from 'components/edit/warehouse/proStockEdit.vue'
	//detailTable
	import detailList from 'components/detail/detailList.vue'

    export default {
        props: ['option','modalShow'],
        components: {
            spDelivery, spAuditfc,refundAudit,refundDetail,spOrderDetail,
			warehouseEdit,Jbind,proStockEdit,confirm,withdrawAudit,seeDetail,detailList,change_pwd,pop_edit_com
        },
        watch:{
            option(){

            }
        },
        created(){

        }
    }
</script>

<style lang="less" rel="stylesheet/less" scoped>
    .pop-component {
		max-width: 900px
    }
</style>
